<template>
  <div>
    <!-- <a href="#">Button</a> -->
    <span>{{buttonname}}</span>
    <!-- <a href="#">Button</a> -->
  </div>
</template>

<script>
export default {
  name: "HoverLightButton",
  props: {
     buttonname:{
          type:String,
          defalut(){
              return "Button"
          }
      }
  },
  data() {
    return {};
  }}
</script>
<style scoped lang="scss">
span{
  position: relative;
  padding: 10px 30px;
  margin: 0 0px;
  color:var( --color-tint);
  text-decoration: none;
  font-size: 25px;
  font-weight: bold;
  text-transform: uppercase;
  transition: 0.5s;
  overflow: hidden;
  -webkit-box-reflect: below 1px linear-gradient(transparent, #0003);
}
span:hover{
  background: #f9d8a3;
  color: #111;
  box-shadow: 0 0 50px var(--color-background);
  transition-delay: 0.5s;
}

// span:nth-child(1){
//   filter: hue-rotate(115deg);
// }
// span:nth-child(3){
//   filter: hue-rotate(270deg);
// }

span::before{
  content: '';
  position: absolute;
  top:0;
  left: 0;
  width: 10px;
  height: 10px;
  border-top:2px solid #f9d8a3;
  border-left:2px solid #f9d8a3;
  transition: 0.5s;
  transition-delay: 0.5s;
}
span:hover::before{
  width: 100%;
  height: 100%;
  transition-delay: 0s;
}
span::after{
  content: '';
  position: absolute;
  right:0;
  bottom: 0;
  width: 10px;
  height: 10px;
  border-bottom:2px solid #f9d8a3;
  border-right:2px solid #f9d8a3;
  transition: 0.5s;
  transition-delay: 0.5s;
}

span:hover::after{
  width: 100%;
  height: 100%;
  transition-delay: 0s;
}</style>
